package cn.torna.example.web.controller.product.param;

import javax.validation.constraints.NotBlank;

public class LoginParam {

    /**
     * 用户名
     * @mock admin
     */
    @NotBlank
    private String username;

    /**
     * 密码
     * @mock 123456
     */
    @NotBlank
    private String password;

    /**
     * 登录类型
     * @mock 1
     */
    private Integer type;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
